package com.ruoyi.system.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 赛程对象 sp_saicheng
 * 
 * @author ruoyi
 * @date 2022-11-10
 */
public class SpSaicheng extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 赛程id */
    private Long scId;


    private Long csdeptId;

    public Long getCsdeptId() {
        return csdeptId;
    }

    public void setCsdeptId(Long csdeptId) {
        this.csdeptId = csdeptId;
    }

    /** 赛事名称 */
    @Excel(name = "赛事名称")
    private String title;

    private String zhuban;

    public String getZhuban() {
        return zhuban;
    }

    public void setZhuban(String zhuban) {
        this.zhuban = zhuban;
    }

    /** 报名开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报名开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date bmsTime;

    /** 报名截止时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报名截止时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date bmeTime;

    /** 比赛开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "比赛开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date jssTime;

    /** 竞赛结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "竞赛结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date jseTime;

    /** 竞赛规程 */
    private String gcDetail;

    /** 规程附件 */
    private String gcFile;

    /** 赛程图片 */
    @Excel(name = "赛程图片")
    private String gcname;

    /** 每个项目限报人数 */
    private Long xmcounts;

    /** 每人限报项目数 */
    @Excel(name = "每人限报项目数")
    private Long rencounts;

    /** 所属组织 */
    private Long deptId;

    /** 排序 */
    @Excel(name = "排序")
    private Long ordernum;

    /** 是否发布 */
    @Excel(name = "是否发布")
    private Integer isfb;

    private Integer sclx;

    public Integer getSclx() {
        return sclx;
    }

    public void setSclx(Integer sclx) {
        this.sclx = sclx;
    }

    /** 赛程状态 */
    @Excel(name = "赛程状态")
    private Integer scStatus;

    /** 项目信息 */
    private List<SpXiangmu> spXiangmuList;

    public void setScId(Long scId) 
    {
        this.scId = scId;
    }

    public Long getScId() 
    {
        return scId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setBmsTime(Date bmsTime) 
    {
        this.bmsTime = bmsTime;
    }

    public Date getBmsTime() 
    {
        return bmsTime;
    }
    public void setBmeTime(Date bmeTime) 
    {
        this.bmeTime = bmeTime;
    }

    public Date getBmeTime() 
    {
        return bmeTime;
    }
    public void setJssTime(Date jssTime) 
    {
        this.jssTime = jssTime;
    }

    public Date getJssTime() 
    {
        return jssTime;
    }
    public void setJseTime(Date jseTime) 
    {
        this.jseTime = jseTime;
    }

    public Date getJseTime() 
    {
        return jseTime;
    }
    public void setGcDetail(String gcDetail) 
    {
        this.gcDetail = gcDetail;
    }

    public String getGcDetail() 
    {
        return gcDetail;
    }
    public void setGcFile(String gcFile) 
    {
        this.gcFile = gcFile;
    }

    public String getGcFile() 
    {
        return gcFile;
    }
    public void setGcname(String gcname) 
    {
        this.gcname = gcname;
    }

    public String getGcname() 
    {
        return gcname;
    }
    public void setXmcounts(Long xmcounts) 
    {
        this.xmcounts = xmcounts;
    }

    public Long getXmcounts() 
    {
        return xmcounts;
    }
    public void setRencounts(Long rencounts) 
    {
        this.rencounts = rencounts;
    }

    public Long getRencounts() 
    {
        return rencounts;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setOrdernum(Long ordernum) 
    {
        this.ordernum = ordernum;
    }

    public Long getOrdernum() 
    {
        return ordernum;
    }
    public void setIsfb(Integer isfb) 
    {
        this.isfb = isfb;
    }

    public Integer getIsfb() 
    {
        return isfb;
    }
    public void setScStatus(Integer scStatus) 
    {
        this.scStatus = scStatus;
    }

    public Integer getScStatus() 
    {
        return scStatus;
    }

    public List<SpXiangmu> getSpXiangmuList()
    {
        return spXiangmuList;
    }

    public void setSpXiangmuList(List<SpXiangmu> spXiangmuList)
    {
        this.spXiangmuList = spXiangmuList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("scId", getScId())
            .append("title", getTitle())
            .append("createTime", getCreateTime())
            .append("bmsTime", getBmsTime())
            .append("bmeTime", getBmeTime())
            .append("jssTime", getJssTime())
            .append("jseTime", getJseTime())
            .append("gcDetail", getGcDetail())
            .append("gcFile", getGcFile())
            .append("gcname", getGcname())
            .append("xmcounts", getXmcounts())
            .append("rencounts", getRencounts())
            .append("deptId", getDeptId())
            .append("ordernum", getOrdernum())
            .append("isfb", getIsfb())
            .append("scStatus", getScStatus())
            .append("spXiangmuList", getSpXiangmuList())
            .toString();
    }
}
